//This is a simple admin system created by Lendgens
//Give credit if you wish
//Version 1



//This is the list that contains all of the GMS
var/GM = list("Jacob843","Arclight641","Pwnage Kevin")


mob/var
	rank = "Player"
	rank2






mob
	GM
		verb
		/*	Ban(var/mob/M in world)//for anyone in the world
			{
				set category = "Admin"
				M.key += Banned // add them to the banned list
				del(M) // boots the player
				M << "You have been banned!"//tels them they have been banned
			}*/

			Announce(A as text)
				for(var/mob/M in world)//for everyone in the world
				{
					set category = "Admin"
					M<<browse("window<TT><center>[src.name]</center><font size =3><BODY>[A]</TTD></BODY>") // They get this HTML message
				}
			Ghostform()
			{
				set category = "Admin"
				if(!density != 1)// if you are already dense
					density = 0//make yourself undense!
				else//if, otherwise
					density = 1//go back to normal
			}
			Boot(var/mob/M in world)
			{
				set category = "Admin"
				var/BOOTMSG = alert("You have been booted.") // the boot message
				M << BOOTMSG // tells them the boot msg
				sleep(10) // sleeps one second
				del M //boot'em
			}
			Promote_Job(var/mob/M in world)
			{
				set category = "Admin"
				if(M.job == "Captain")
					usr << "[M] is already captain!"
				else
					M.job = "Captain"
					M << "You are now Captain! Promoted by [usr]."
					M.spawncaptain()
			}
			Demote_Job(var/mob/M in world)
			{
				set category = "Admin"
				if(M.job == "Captain")
					M.job = "Assistant"
					M << "You are now Assistant! Demoted by [usr]."
					M.spawnassistant()
				else
					usr << "[M] is already assistant!"
			}
			Play_Space_Asshole()
			{
				set category = "Admin"
				world << sound('asshole.ogg',0,100)
			}
			Play_Diggy_Hole()
			{
				set category = "Admin"
				world << sound('diggyhole.ogg',0,100)
			}
			Summon(var/mob/M in world)
			{
				set category = "Admin"
				M.loc = usr.loc
				usr << "You summoned [M]"
				M << "[usr] summoned you!"
			}
			Teleport(var/mob/M in world)
			{
				set category = "Admin"
				usr.loc = M.loc
				usr << "You teleport to [M]!"
				M << "[usr] teleported to you!"
			}